home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / program / inter52f.zip / INT2WHLP.ZIP / INTWIN.BAT < prev    next >
DOS Batch File  |  1995-03-07  |  2KB  |  69 lines

  1. @echo off
  2.  
  3. echo.
  4. echo This batch program compiles Ralf Brown's Interrupt List to a WINHELP file
  5. echo in the current directory (defined as OutPath in INT2WHLP.CFG). INT2WHLP
  6. echo will request the InPath directory containing the Interrupt List files.
  7. echo.
  8. echo Up to 10 parameters to this program are passed to INT2WHLP. Thus for example
  9. echo   %0 -2-
  10. echo will compile a helpfile without the expanded index.
  11. echo.
  12. echo 12 MB free disk space are required for the compilation (based on release 40).
  13. echo.
  14. echo HC31 is expected to be found on the DOS path.
  15. echo.
  16. echo Intermediate files are deleted after the compilation.
  17. echo.
  18. pause
  19.  
  20. echo.
  21. echo The following time estimates are based on Interrupt List release 40 and
  22. echo a 486/33MHz based computer.
  23. echo.
  24. echo Compiling to RTF files (appr. 80 seconds)
  25. echo.
  26. shift
  27. int2whlp %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
  28. if NOT errorlevel 2 goto warnings
  29. echo.
  30. echo Some error occured, quitting.
  31. echo.
  32. goto done
  33.  
  34. :warnings
  35. if NOT errorlevel 1 goto hc
  36. echo.
  37. echo Warning(s) issued, press Ctrl C and answer Y to quit, or
  38. pause
  39.  
  40. :hc
  41. echo.
  42. echo Compiling RTF files to a HLP file (appr. 33 minutes - high compression,
  43. echo existing INTWIN.PH file)
  44. echo.
  45. if exist intwin.hlp del intwin.hlp
  46. hc31 intwin
  47. if exist intwin.hlp goto delete
  48. echo.
  49. echo Some error occured, intermediate files are not deleted.
  50. echo.
  51. goto done
  52.  
  53. :delete
  54. echo.
  55. echo.
  56. echo Deleting intermediate files.
  57. echo.
  58. echo Press Ctrl C to quit, or any other key to delete the files.
  59. pause>NUL
  60. del index.rtf>NUL
  61. del int.rtf>NUL
  62. del subint.rtf>NUL
  63. del table.rtf>NUL
  64. del inttopic.rtf>NUL
  65. del tabtopic.rtf>NUL
  66. del intwin.hpj>NUL
  67.  
  68. :done
  69.